package rtm

import (
	"context"
	"fmt"

	v1 "code.byted.org/bytertc/whiteboard_server/biz/api/pb/v1"
)

func NewSender() *sender {
	return &sender{}
}

type sender struct {
}

func (s *sender) ToUser(ctx context.Context, appID, roomID, userID, message, tag string, p2pType *v1.OnWireRequest_RtsP2PType) (err error) {
	fmt.Printf("ToUser ->user:%s,message:%s,tag:%s\n", userID, message, tag)
	return nil
}
func (s *sender) ToRoom(ctx context.Context, appID, roomID, message, tag string) error {
	fmt.Printf("ToRoom ->roomID:%s,message:%s,tag:%s\n", roomID, message, tag)
	return nil
}
